package com.zd.file.framework.listener;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Component;

@Component
public class BrowerPathChangeListener implements ApplicationListener<BrowerPathChangeEvent> {
    @Override
    @EventListener(BrowerPathChangeListener.class)
    public void onApplicationEvent(BrowerPathChangeEvent browerPathChangeEvent) {
        browerPathChangeEvent.action();
    }
}
